package com.qiang;

import java.util.ArrayList;
import java.util.List;

public class Test16 {
    public static void main(String[] args) {
        List<Integer> integers = List.of(1, 2, 3, 4, 6, 6);
        ArrayList<Integer> it = new ArrayList<>(integers);
        for (Integer integer : it) {
            System.out.println(integer);
        }

    }
}
